package ch.fhnw.qualiscan.core.db.pojos;

import java.io.Serializable;

/**
 * This pojo holds the information about the domain titles (in different languages). It is used by hibernate to get data out of the database.
 * @author Kevin Mettenberger
 *
 */
@SuppressWarnings("serial")
public class DomainText implements Serializable {

	private int id;
	private Language language;
	private String text;
	private Domain domain;
	
	public int getId() {
		return id;
	}
	
	public void setId(int id) {
		this.id = id;
	}
	
	public Language getLanguage() {
		return language;
	}
	
	public void setLanguage(Language language) {
		this.language = language;
	}
	
	public String getText() {
		return text;
	}
	
	public void setText(String text) {
		this.text = text;
	}

	public Domain getDomain() {
		return domain;
	}

	public void setDomain(Domain domain) {
		this.domain = domain;
	}
	
	
}
